package com.check.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.check.dao.PersonExpressDao;
import com.check.pojo.ExpressDetail;


@Repository("personExpressDao")
public class PersonExpressDaoImpl extends BaseSqlMapDao implements PersonExpressDao{

	public List<ExpressDetail> findPersonExpress(Map map) {
		return getSqlMapClientTemplate().queryForList("Express.findPersonExpressById",map);
	}

	public void deletePersonExpress(Map map) {
		deleteObject("Express.deletePersonExpress",map);
	}

	public void insertPersonExpress(ExpressDetail expressDetail) {
		insertObject("Express.insertPersonExpress", expressDetail);
		
	}

}
